package com.zx.map.dao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zx.map.dao.model.UserCount;
import com.zx.map.dao.model.UserCountExample;

public interface UserCountMapper {
    long countByExample(UserCountExample example);

    int deleteByExample(UserCountExample example);

    int deleteByPrimaryKey(String userId);

    int insert(UserCount record);

    int insertSelective(UserCount record);

    List<UserCount> selectByExample(UserCountExample example);

    UserCount selectByPrimaryKey(String userId);

    int updateByExampleSelective(@Param("record") UserCount record, @Param("example") UserCountExample example);

    int updateByExample(@Param("record") UserCount record, @Param("example") UserCountExample example);

    int updateByPrimaryKeySelective(UserCount record);

    int updateByPrimaryKey(UserCount record);
    
    /**
     * @param pageSize
     * @param pageBegin
     * @param example
     * @return
     */
     List<UserCount> getPageByModel(@Param("pageSize") int pageSize, @Param("pageBegin") int pageBegin, @Param("example") UserCountExample example);
}